package com.example.szh.adapter;


import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.example.szh.R;
import com.example.szh.entity.LocalChannelEntity;

import org.greenrobot.greendao.annotation.NotNull;

public class LocalChannelAdapter extends BaseQuickAdapter<LocalChannelEntity.Values, BaseViewHolder> {
    public LocalChannelAdapter() {
        super(R.layout.item_channel_foot);
    }

    @Override
    protected void convert(@NotNull BaseViewHolder holder, LocalChannelEntity.Values values) {
        holder.setText(R.id.channel_foot_tv,values.channel_name);
    }
}
